package com.cloud.pole.shop.model.entity.goods;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 
 */
@Table(name="shop_goods_category")
@Data
public class ShopGoodsCategory implements Serializable {
	public static final int CATE_LEVEL_ONE    = 1;
	/**
	 * 显示状态:0不显示,1显示
	 */
	public static final int SHOW_STATUS_YES   = 1;
	public static final int SHOW_STATUS_NO    = 0;

    /**
     * 分类id
     */
	@Id
    private Integer categoryId;

    /**
     * 上级id
     */
    private Integer supId;

    /**
     * 应用分类编码
     */
    private String code;

    /**
     * 英文编码
     */
    private String icode;

    /**
     * 类别名称
     */
    private String name;

    /**
     * 状态:0新建,1启用,-1停用
     */
    private Integer status;

    /**
     * 显示状态:0不显示,1显示
     */
    private Integer showStatus;

    /**
     * 排序等级
     */
    private Integer orderLevel;

    /**
     * 分类等级
     */
    private Integer cateLevel;

    /**
     * 图片地址
     */
    private String pic;

    /**
     * 图片链接
     */
    private String picLink;

    /**
     * 标题
     */
    private String title;

    /**
     * 关键字,用于SEO
     */
    private String keyword;

    /**
     * 简介,也用于头部描述
     */
    private String description;

    /**
     * 子平台id
     */
    private String platformId;

    /**
     * 所对应的模型id
     */
    private Integer modelId;

    /**
     * 商家Id
     */
    private Integer merchantId;

    /**
     * 店铺id
     */
    private Integer shopId;
    
    private String advertPic;
    
    private String advertLinkObjId;
    
    private Integer advertLinkObjType;
    
    private String advertLinkObjTypeName;
    
    
    private static final long serialVersionUID = 1L;

}